package com.zmm.study.mes.controller;

import com.zmm.study.mes.entity.system.SysUser;
import org.apache.shiro.SecurityUtils;

/**
 * description
 * name BaseController
 *
 * @author Zebulon
 * @date by 2022-05-05 20:15:55
 */
public class BaseController {

    public SysUser getSysUser() {
        return (SysUser) SecurityUtils.getSubject().getPrincipal();
    }
}
